package com.itxiao.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (UserVisit)表实体类
 *
 * @author makejava
 * @since 2025-10-12 17:16:47
 */
@Data
@TableName("user_visit")
@AllArgsConstructor
@NoArgsConstructor
public class UserVisit {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    private Integer shopId;

    private Integer goodsId;

    private Date createTime;
    //1浏览记录，2商品收藏
    private Integer type;
}